@echo off 
set str=%path%
set "IPFS_BIN=D:\go-ipfs"
:STR_VISTOR
if defined  str (
for /F "delims=; tokens=1,*" %%a in ("%str%") do (
set "str=%%b"
echo %%a|findstr /i "%IPFS_BIN%" > nul && (goto SET_IPFS_PATH)
set "newPath=%newPath%%%a;"
goto :STR_VISTOR
))
set PATH=%IPFS_BIN%;%PATH%
:SET_IPFS_PATH
set IPFS_PATH=%CD%
